#ifndef __OLED_H_
#define __OLED_H_	

#include "stdint.h"
#include "stdlib.h"
#include "i2c.h"
#include "main.h"



	
void WriteCmd(void);
//????????
void OLED_WR_CMD(uint8_t cmd);
//??????
void OLED_WR_DATA(uint8_t data);
//???oled??
void OLED_Init(void);
	//??
void OLED_Clear(void);
//??
void OLED_Clearrow(uint8_t i);
//??OLED??    
void OLED_Display_On(void);
//??OLED??     
void OLED_Display_Off(void);
//????
void OLED_Set_Pos(uint8_t x, uint8_t y);

void OLED_On(void);
	
//???????????,??????
//x:0~127
//y:0~63
//mode:0,????;1,????				 
//size:???? 16/12 
void OLED_ShowChar(uint8_t x,uint8_t y,uint8_t chr,uint8_t Char_Size);

 //??2???
//x,y :????	 
//len :?????
//size:????
//mode:??	0,????;1,????
//num:??(0~4294967295);	 		  
void OLED_ShowNum(uint8_t x,uint8_t y,unsigned int num,uint8_t len,uint8_t size2);

//????????
void OLED_ShowString(uint8_t x,uint8_t y,uint8_t *chr,uint8_t Char_Size);

//????
//hzk ??????????
void OLED_ShowCHinese(uint8_t x,uint8_t y,uint8_t no);

#endif
